package bradd.tom;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;


public class Databasehelper extends SQLiteOpenHelper {
	

	private static final String DATABASE_NAME = "Tom";
    private static final String DICTIONARY_TABLE_NAME = "inventory";
    private static final String DICTIONARY_TABLE_CREATE =
                "CREATE TABLE " + DICTIONARY_TABLE_NAME + " (" +
                "Product_name TEXT," +
                "Exp_Date TEXT);";


	public Databasehelper(Context context,
			int version) {
		  super(context, DATABASE_NAME, null, version);


	}
	@Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(DICTIONARY_TABLE_CREATE);
    }
	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub
		
	}


}


